package com.lxw.study.behavioral.command.case2;

public class LightIncreaseCommand implements Command{
    private Light light;

    public LightIncreaseCommand(Light light) {
        this.light = light;
    }

    public void execute() {
        light.increaseBrightness();
    }

    public void undo() {
        System.out.println("TODO");
    }
}
